package com.lingnan.wanxiangxinxun.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

//管理端修改 新闻信息
@Data
@AllArgsConstructor
@NoArgsConstructor
public class News_service_updateDTO implements Serializable {

    private Integer id; //新闻id
    private String title; //新闻标题
    private String frontCover; //新闻封面
    private String content; //新闻内容

    private Integer categoryId; //新闻分类id
    private Integer authorId; //作者id
    private Integer checkerId; //审核员id
    private String rejectReason; //稿件退回原因

    private Integer status; //状态(0待审,1已发布,2撤回,,默认0)

    private LocalDateTime publishTime; //发布时间

}
